package javathree;

public class Circle {

	private int radius;
	public Circle(int radius){
		this.radius=radius;
	}
	public String toString() {
		return "Circle [radius=" + radius + "]";
	}
	public int getPerimeter(int radius){
		return (int)(Math.PI*radius*2);
	}
	public int getArea(int radius){
		return (int)(Math.PI*radius*radius);
	}
	public int getRadius() {
		return radius;
	}
	public void setRadius(int radius) {
		this.radius = radius;
	}
	
}
